package com.dys.hejiayuncommunity.system.domain;

import java.io.Serializable;

/**
 * @className: com.dys.hejiayuncommunity.system.domain.SysArea
 * @description: 区域信息
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/12/04 22:53
 */
public class SysArea implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 城市编码(区划码)
     */
    private Integer code;

    /**
     * 城市名称(区划名称)
     */
    private String name;

    /**
     * 上级城市编码(上级区划码)
     */
    private Integer parentCode;

    public SysArea() {
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentCode() {
        return parentCode;
    }

    public void setParentCode(Integer parentCode) {
        this.parentCode = parentCode;
    }
}
